﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Core.Domain.Model
{
    /// <summary>
    /// 审计字段
    /// </summary>
    public class Audit
    {
        /// <summary>
        /// 创建人
        /// </summary>
        [Display(Name ="创建人")]
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        [Display(Name = "修改人")]
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        [Display(Name = "修改时间")]
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 软删除
        /// </summary>
        [Display(Name = "软删除")]
        public int Delete { get; set; }
    }
}
